#include <stdio.h>
#include <stdlib.h>

int main()
{
    char ch_list[50] = {};
    char * ch_ptr = ch_list;
    unsigned char cnt = 0;
    char target = 0;
    while ((*ch_ptr++ = getchar()) != '\n')cnt++;
    target = getchar();
    for(int i = 0; i < cnt; i++)
    {
        if(target == ch_list[i])
        {
            printf("subscript:%d\n", i);
            return 0;
        }
    }
    printf("No such char!\n");
    return 0;
}